home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / demos / gray.lzh / FLOYD.DOC next >
Text File  |  1991-05-14  |  1KB  |  38 lines

  1. * THIS PROGRAM IS WRITTEN BY KLAUS PEDERSEN - micro@imada.ou.dk *
  2. * The program NEEDS a ST with High rez monitor, and serverves as*
  3. * demostration ONLY.                                            *
  4.  
  5. The program have the following switches :
  6.  
  7.           Wn : set the Width. (default 575)
  8.           Hn : -- '' -- Height. (default 400)
  9.           
  10.           Rn : (RAND*16) amount of Random 'dynamic' noise. (fixed point)
  11.           Ln : (Laplace*4) filter constant. (fixed point)
  12.           Fn : if n != 0 then Flicker (3 screen) 
  13.                else no Flicker (basic floyd-steinberg)...
  14.           
  15.           Np : Load Low-rez NEO picture (and keep as 320x200)
  16.                and Show picture.
  17.           Zp : Load Low-rez NEO picture (and Zoom to 640x400)
  18.                and Show picture.
  19.           Tp : Load 256 grayscale picture (uncompressed TIFF)-
  20.                skip first 82 bytes, load W*H bytes,
  21.                and show picture as W times H pixels.
  22.  
  23. 'p' - Path to file.
  24. 'n' - number.
  25.  
  26. NOTE : that all commands are in capital letters.
  27. NOTE : that only the first n*16 pixels can be shown in the width.
  28.        - where n = int( width/16 )
  29.        
  30. examples:
  31.  o to load a NEO picture and Zoom:
  32.    "floyd7 R16 L-4 Zg:\pictures\demos\moreta.neo"
  33.    'L-4' means smooth edges, or *remove* edges.
  34.    
  35.  o to load a 512x350 pixel TIFF picture:
  36.    "floyd7 F1 R0 W512 H350 Zp:\scanner\girls.tif"
  37.     
  38.